package xyz.yuanjilu.service;

import java.util.List;
import java.util.Map;

import xyz.yuanjilu.base.AntInfo;


public interface WebAntManagerService {
    
    AntInfo queryObject(String id);
    
    List<AntInfo> queryList(Map<String, Object> map);
    
    int queryTotal(Map<String, Object> map);
    
    public void start(String id);
    public void start(String[] ids);
    
    public void restart(String id);
    public void restart(String[] ids);
    
    public void stop(String id);
    public void stop(String[] ids);
    public void addScheduleJob(String[] ids);
    /**
     * 绑定爬虫与网站关系
     * @param ids
     * @param selectWebId
     */
    public void bindwebsite(String[] ids,String selectWebId);

    public void startScheduleJob(String[] ids);

    public void stopScheduleJob(String[] ids);
    
}
